from django.urls import path

from . import views

app_name = "article"

urlpatterns = [
    path('', views.HomePageView.as_view(), name='home'),
    path('index/', views.IndexView.as_view(), name='index'),
    path('<int:pk>/', views.DetailView.as_view(), name='detail'),
    path("category-list/", views.CategoryListView.as_view(), name="category-list"),
    path("category/<int:pk>/", views.CategoryView.as_view(), name="category"),
    path("tag-list/", views.TagListView.as_view(), name="tag-list"),
    path("tag/<int:pk>/", views.TagView.as_view(), name="tag"),
]